/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package gui.manhinhchinh;


import gui.event.khachhang.KHMainPanel_evt;
import gui.event.manhinhchinh.MainFrame_evt;
import java.awt.Dimension;

/**
 *
 * @author nv_ca@live.com
 */
public class MainFlowChart extends javax.swing.JPanel {

    /**
     * Creates new form MainFlowChart
     */
    public MainFlowChart() {
        initComponents();
        this.setName("Màn hình bắt đầu");
//        this.setPreferredSize(new Dimension(800, 600));
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        btnThemKH = new javax.swing.JButton();
        btnSaoLuuKH = new javax.swing.JButton();
        btnPhucHoiKH = new javax.swing.JButton();
        jLabel1 = new javax.swing.JLabel();
        btnQuanLyKH = new javax.swing.JButton();
        jLabel2 = new javax.swing.JLabel();
        btnThemVN = new javax.swing.JButton();
        jLabel3 = new javax.swing.JLabel();
        btnQuanLyVN = new javax.swing.JButton();
        jLabel4 = new javax.swing.JLabel();
        btnQuanLyBA = new javax.swing.JButton();
        jLabel5 = new javax.swing.JLabel();
        btnThemBA = new javax.swing.JButton();
        jLabel6 = new javax.swing.JLabel();
        btnQuanLyTC = new javax.swing.JButton();
        btnThemTC = new javax.swing.JButton();
        jLabel7 = new javax.swing.JLabel();
        jLabel8 = new javax.swing.JLabel();
        btnQuanLyPDT = new javax.swing.JButton();
        jLabel9 = new javax.swing.JLabel();
        btnThemPDT = new javax.swing.JButton();
        jLabel10 = new javax.swing.JLabel();
        btnThemChiTietPDT = new javax.swing.JButton();
        jLabel11 = new javax.swing.JLabel();
        btnQuanLyThuoc = new javax.swing.JButton();
        jLabel12 = new javax.swing.JLabel();
        btnThemThuoc = new javax.swing.JButton();
        btnCapNhatThuoc = new javax.swing.JButton();
        btnThemNCC = new javax.swing.JButton();

        btnThemKH.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/khachhang/Customer-32 addnew.png"))); // NOI18N
        btnThemKH.setToolTipText("Tạo khách hàng mới");
        btnThemKH.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnThemKHActionPerformed(evt);
            }
        });

        btnSaoLuuKH.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/khachhang/Customer-32 backup.png"))); // NOI18N
        btnSaoLuuKH.setToolTipText("Sao lưu khách hàng ");
        btnSaoLuuKH.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnSaoLuuKHActionPerformed(evt);
            }
        });

        btnPhucHoiKH.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/khachhang/Customer-32  restore.png"))); // NOI18N
        btnPhucHoiKH.setToolTipText("Phục hồi khách hàng");
        btnPhucHoiKH.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnPhucHoiKHActionPerformed(evt);
            }
        });

        jLabel1.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/ultility/Split_line_up.png"))); // NOI18N

        btnQuanLyKH.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/khachhang/Customer-32.png"))); // NOI18N
        btnQuanLyKH.setToolTipText("Quản lý khách hàng");
        btnQuanLyKH.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnQuanLyKHActionPerformed(evt);
            }
        });

        jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/ultility/Vertical_line.png"))); // NOI18N

        btnThemVN.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/vatnuoi/Footprint-32 addnew.png"))); // NOI18N
        btnThemVN.setToolTipText("Thêm vật nuôi ");
        btnThemVN.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnThemVNActionPerformed(evt);
            }
        });

        jLabel3.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/ultility/Arrow_left.png"))); // NOI18N

        btnQuanLyVN.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/vatnuoi/Footprint-32.png"))); // NOI18N
        btnQuanLyVN.setToolTipText("Quản lý vật nuôi");
        btnQuanLyVN.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnQuanLyVNActionPerformed(evt);
            }
        });

        jLabel4.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/ultility/horizontal_line.png"))); // NOI18N

        btnQuanLyBA.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/benhan/Book-Close-32.png"))); // NOI18N
        btnQuanLyBA.setToolTipText("Quản lý bệnh án");

        jLabel5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/ultility/Arrow_down.png"))); // NOI18N

        btnThemBA.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/benhan/Book-Close-32 addnew.png"))); // NOI18N
        btnThemBA.setToolTipText("Thêm bệnh án ");
        btnThemBA.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnThemBAActionPerformed(evt);
            }
        });

        jLabel6.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/ultility/horizontal_line.png"))); // NOI18N

        btnQuanLyTC.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/tiemchung/Syringe-02-32.png"))); // NOI18N
        btnQuanLyTC.setToolTipText("Quản lý tiêm chủng");

        btnThemTC.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/tiemchung/Syringe-02-32 addnew.png"))); // NOI18N
        btnThemTC.setToolTipText("Thêm tiêm chủng");
        btnThemTC.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnThemTCActionPerformed(evt);
            }
        });

        jLabel7.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/ultility/Arrow_down.png"))); // NOI18N

        jLabel8.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/ultility/diagonal_line1.png"))); // NOI18N

        btnQuanLyPDT.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/benhan/Documents-01-32.png"))); // NOI18N
        btnQuanLyPDT.setToolTipText("Quản lý phiếu điều trị");

        jLabel9.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/ultility/Arrow_up.png"))); // NOI18N

        btnThemPDT.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/benhan/Documents-Add-01-32.png"))); // NOI18N
        btnThemPDT.setToolTipText("Thêm phiếu điều trị");
        btnThemPDT.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnThemPDTActionPerformed(evt);
            }
        });

        jLabel10.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/ultility/Arow_diagonal.png"))); // NOI18N

        btnThemChiTietPDT.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/benhan/Document-Details-32.png"))); // NOI18N
        btnThemChiTietPDT.setToolTipText("Thêm chi tiết phiếu điều trị");

        jLabel11.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/ultility/horizontal_line.png"))); // NOI18N

        btnQuanLyThuoc.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/thuoc/Pill-32.png"))); // NOI18N
        btnQuanLyThuoc.setToolTipText("Quản lý Thuốc");
        btnQuanLyThuoc.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnQuanLyThuocActionPerformed(evt);
            }
        });

        jLabel12.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/ultility/Split_line_right.png"))); // NOI18N

        btnThemThuoc.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/thuoc/Pill-32 addnew.png"))); // NOI18N
        btnThemThuoc.setToolTipText("Thêm thuốc");
        btnThemThuoc.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnThemThuocActionPerformed(evt);
            }
        });

        btnCapNhatThuoc.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/thuoc/Pill-32 update.png"))); // NOI18N
        btnCapNhatThuoc.setToolTipText("Cập nhật thuốc");
        btnCapNhatThuoc.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnCapNhatThuocActionPerformed(evt);
            }
        });

        btnThemNCC.setIcon(new javax.swing.ImageIcon(getClass().getResource("/gui/images/khachhang/Customer-32 addnew.png"))); // NOI18N
        btnThemNCC.setToolTipText("Thêm nhà cung cấp");
        btnThemNCC.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                btnThemNCCActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(72, 72, 72)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGap(55, 55, 55)
                                .addComponent(btnThemKH, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(39, 39, 39)
                                .addComponent(btnSaoLuuKH, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addGap(35, 35, 35)
                                .addComponent(btnPhucHoiKH, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(layout.createSequentialGroup()
                                        .addGap(119, 119, 119)
                                        .addComponent(jLabel1)
                                        .addGap(189, 189, 189)
                                        .addComponent(jLabel9, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addGap(18, 18, 18)
                                        .addComponent(jLabel10))
                                    .addGroup(layout.createSequentialGroup()
                                        .addComponent(btnThemVN, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addGroup(layout.createSequentialGroup()
                                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                    .addGroup(layout.createSequentialGroup()
                                                        .addGap(33, 33, 33)
                                                        .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                    .addGroup(layout.createSequentialGroup()
                                                        .addComponent(btnQuanLyVN, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                        .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                    .addGroup(layout.createSequentialGroup()
                                                        .addGap(12, 12, 12)
                                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                                            .addGroup(layout.createSequentialGroup()
                                                                .addComponent(btnThemBA, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                                .addComponent(btnThemTC, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                            .addGroup(layout.createSequentialGroup()
                                                                .addComponent(btnQuanLyBA, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                                .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                                .addComponent(btnQuanLyTC, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE))))
                                                    .addGroup(layout.createSequentialGroup()
                                                        .addGap(81, 81, 81)
                                                        .addComponent(jLabel8))))
                                            .addGroup(layout.createSequentialGroup()
                                                .addComponent(btnQuanLyKH, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                .addGap(209, 209, 209)
                                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                    .addGroup(layout.createSequentialGroup()
                                                        .addComponent(btnThemPDT, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                        .addGap(29, 29, 29)
                                                        .addComponent(btnThemChiTietPDT, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE))
                                                    .addGroup(layout.createSequentialGroup()
                                                        .addComponent(btnQuanLyPDT, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                                        .addComponent(jLabel11, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                        .addGap(18, 18, 18)
                                                        .addComponent(btnQuanLyThuoc, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)))))))
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                                .addComponent(jLabel12)))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(btnThemThuoc, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(btnCapNhatThuoc, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(btnThemNCC, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(383, 383, 383)
                        .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(164, 164, 164)
                        .addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(395, Short.MAX_VALUE))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(btnThemKH, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(btnSaoLuuKH, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                                .addComponent(btnPhucHoiKH, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(btnThemPDT, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addComponent(btnThemChiTietPDT, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                        .addComponent(jLabel1, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                                        .addComponent(jLabel9, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE))
                                    .addComponent(jLabel10, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addGroup(layout.createSequentialGroup()
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                            .addComponent(btnQuanLyKH, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                                .addComponent(btnQuanLyPDT, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                .addComponent(btnQuanLyThuoc, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE))))
                                    .addGroup(layout.createSequentialGroup()
                                        .addGap(30, 30, 30)
                                        .addComponent(jLabel11, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE)))
                                .addGap(12, 12, 12)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                    .addComponent(jLabel2, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(jLabel8)))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(34, 34, 34)
                                .addComponent(jLabel12, javax.swing.GroupLayout.PREFERRED_SIZE, 183, javax.swing.GroupLayout.PREFERRED_SIZE)))
                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addGroup(layout.createSequentialGroup()
                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                    .addComponent(btnThemVN, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addComponent(btnQuanLyVN, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                                    .addGroup(layout.createSequentialGroup()
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                            .addComponent(btnQuanLyBA, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                                            .addGroup(layout.createSequentialGroup()
                                                .addGap(26, 26, 26)
                                                .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE))
                                            .addGroup(layout.createSequentialGroup()
                                                .addGap(23, 23, 23)
                                                .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE))
                                            .addComponent(btnQuanLyTC, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE))
                                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                        .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                            .addGroup(layout.createSequentialGroup()
                                                .addComponent(jLabel5, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                .addGap(1, 1, 1)
                                                .addComponent(btnThemBA, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE))
                                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                                                .addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 80, javax.swing.GroupLayout.PREFERRED_SIZE)
                                                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                                .addComponent(btnThemTC, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE))))))
                            .addGroup(layout.createSequentialGroup()
                                .addGap(31, 31, 31)
                                .addComponent(jLabel3, javax.swing.GroupLayout.PREFERRED_SIZE, 15, javax.swing.GroupLayout.PREFERRED_SIZE))))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(78, 78, 78)
                        .addComponent(btnThemThuoc, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(28, 28, 28)
                        .addComponent(btnCapNhatThuoc, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(28, 28, 28)
                        .addComponent(btnThemNCC, javax.swing.GroupLayout.PREFERRED_SIZE, 70, javax.swing.GroupLayout.PREFERRED_SIZE)))
                .addContainerGap(17, Short.MAX_VALUE))
        );
    }// </editor-fold>//GEN-END:initComponents

    private void btnThemKHActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnThemKHActionPerformed
        MainFrame_evt.miThemKhachHangMoi(null);
    }//GEN-LAST:event_btnThemKHActionPerformed

    private void btnSaoLuuKHActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnSaoLuuKHActionPerformed
        KHMainPanel_evt.btnThucHienSaoLuuActionPerformed();
    }//GEN-LAST:event_btnSaoLuuKHActionPerformed

    private void btnPhucHoiKHActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnPhucHoiKHActionPerformed
        KHMainPanel_evt.btnThucHienPhucHoiActionPerformed();
    }//GEN-LAST:event_btnPhucHoiKHActionPerformed

    private void btnQuanLyKHActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnQuanLyKHActionPerformed
        MainFrame_evt.miQuanLyKhachHang(jTabbedPane);
    }//GEN-LAST:event_btnQuanLyKHActionPerformed

    private void btnQuanLyVNActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnQuanLyVNActionPerformed
        MainFrame_evt.miQuanLyVN(jTabbedPane);
    }//GEN-LAST:event_btnQuanLyVNActionPerformed

    private void btnThemVNActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnThemVNActionPerformed
        MainFrame_evt.miThemVN(null);
    }//GEN-LAST:event_btnThemVNActionPerformed

    private void btnThemBAActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnThemBAActionPerformed
        MainFrame_evt.miTaoBenhAnMoi(null);
    }//GEN-LAST:event_btnThemBAActionPerformed

    private void btnThemTCActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnThemTCActionPerformed
        MainFrame_evt.miThemHoSoTiemChung(null);
    }//GEN-LAST:event_btnThemTCActionPerformed

    private void btnThemPDTActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnThemPDTActionPerformed
        
    }//GEN-LAST:event_btnThemPDTActionPerformed

    private void btnQuanLyThuocActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnQuanLyThuocActionPerformed
       MainFrame_evt.miQuanLyThuoc(jTabbedPane);
    }//GEN-LAST:event_btnQuanLyThuocActionPerformed

    private void btnThemThuocActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnThemThuocActionPerformed
        MainFrame_evt.miThemThuoc(null);
    }//GEN-LAST:event_btnThemThuocActionPerformed

    private void btnCapNhatThuocActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnCapNhatThuocActionPerformed
        MainFrame_evt.miCapNhatThuoc(null);
    }//GEN-LAST:event_btnCapNhatThuocActionPerformed

    private void btnThemNCCActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnThemNCCActionPerformed
        // TODO add your handling code here:
    }//GEN-LAST:event_btnThemNCCActionPerformed

    public static javax.swing.JTabbedPane jTabbedPane;
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnCapNhatThuoc;
    private javax.swing.JButton btnPhucHoiKH;
    private javax.swing.JButton btnQuanLyBA;
    private javax.swing.JButton btnQuanLyKH;
    private javax.swing.JButton btnQuanLyPDT;
    private javax.swing.JButton btnQuanLyTC;
    private javax.swing.JButton btnQuanLyThuoc;
    private javax.swing.JButton btnQuanLyVN;
    private javax.swing.JButton btnSaoLuuKH;
    private javax.swing.JButton btnThemBA;
    private javax.swing.JButton btnThemChiTietPDT;
    private javax.swing.JButton btnThemKH;
    private javax.swing.JButton btnThemNCC;
    private javax.swing.JButton btnThemPDT;
    private javax.swing.JButton btnThemTC;
    private javax.swing.JButton btnThemThuoc;
    private javax.swing.JButton btnThemVN;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel10;
    private javax.swing.JLabel jLabel11;
    private javax.swing.JLabel jLabel12;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabel8;
    private javax.swing.JLabel jLabel9;
    // End of variables declaration//GEN-END:variables

}
